package ooday02;

public class Person {
    String name;
    int age;
    String address;
    public Person(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }
    public Person(){}
    void eat()
    {
        System.out.println(name+"Eating...");
    }
    void sleep()
    {
        System.out.println(name+"Sleeping...");
    }
    void sayHi()
    {
        System.out.println(name+"Saying...");
    }
}




